package com.redhipps.hips.client.services;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.redhipps.hips.client.model.Institution;
import com.redhipps.hips.client.model.Model;
import com.redhipps.hips.client.model.Schedule;
import com.redhipps.hips.client.model.ScheduleSolution;

public interface IOService extends RemoteService {

  List<Institution> listInstitutions();
  
  List<Schedule> listSchedules(Institution institution);

  List<ScheduleSolution> listSolutions(Schedule schedule);

  <T extends Model> void write(T model);

}
